<?php
/**
 * 
 * @authors liuqinglin 
 * @email (2961181429@qq.com) 
 * @(https://my.oschina.net/u/2831203)
 * @date    2016-11-21 11:34:38
 * @version $Id$
 */
defined('BASEPATH') OR exit('No direct script access allowed');

class MY_Loader extends CI_Loader {
	
	//前台使用皮肤功能
	public function switch_theme_on($skin = 'default')
	{
		$this->_ci_view_paths =	array(THEMES_DIR.$skin.'/' => TRUE);
	}
	//后台使用默认值
	public function switch_theme_off()
	{
		//后台使用默认view 路径
	}



}